package basic.a1;

public class Shuixianhua {
	public static void main(String[] args) {
		int x=100,a,b,c;
		while(x<=999){
			a=x%10;
			b=x/10%10;
			c=x/100;
			if(x==a*a*a+b*b*b+c*c*c)
				System.out.println(x); 
			x++;
		}
		
	}

}
